package org.littlesun.management.model.user;

import lombok.AllArgsConstructor;
import lombok.Getter;

public interface User {

	public String getId();
	public String getName();
	
	@AllArgsConstructor
	public static class SimpleUser implements User {
		@Getter private String id;
		@Getter private String name;
		
		public SimpleUser() {
			this(null, null);
		}
		
		public SimpleUser(User user) {
			this(user.getId(), user.getName());
		}
	}
}
